﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using Cipher.Web.Utils;

namespace Cipher.Web.Areas.Administrator.Controllers
{
    public class DataSourceController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }

        [HttpGet]
        public ActionResult Create() {
            bool pop = !string.IsNullOrEmpty(Request.QueryString["pop"]);
            ViewBag.Layout = pop ? TemplateUtil.PopTemplateName : TemplateUtil.TemplateName;

            return View();
        }

    }
}
